get file name from stream c#

61

get file name from stream c# -

Stream stream = ...
FileStream fs = stream as FileStream;
if(fs != null) Console.WriteLine(fs.Name);

Comments

Submit
0 Comments